/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.projectRecord;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 工程项目 Model
*
* @author Ljc
* @date 2022-08-26 10:36:26
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class ProjectRecordModel extends ApiWrapper {

    /** 公司编号 */
    @ApiModelProperty(value = "公司编号")
    @ExcelProperty(value = "公司编号", order = 1)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String devid;

    /** 项目名称 */
    @ApiModelProperty(value = "项目名称")
    @ExcelProperty(value = "项目名称", order = 2)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String projectName;

    /** 项目类型 */
    @ApiModelProperty(value = "项目类型")
    @ExcelProperty(value = "项目类型", order = 3)
    @ExcelInfo
    @ValidatorLenMax(1)
    private String projectType;

    /** 设备数量 */
    @ApiModelProperty(value = "设备数量")
    @ExcelProperty(value = "设备数量", order = 4)
    @ExcelInfo
    @ValidatorLenMax(11)
    private Integer deviceNumber;

    /** 责任人 */
    @ApiModelProperty(value = "责任人")
    @ExcelProperty(value = "责任人", order = 5)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String personLiable;

    /** 项目描述 */
    @ApiModelProperty(value = "项目描述")
    @ExcelProperty(value = "项目描述", order = 6)
    @ExcelInfo
    @ValidatorLenMax(2500)
    private String projectDescription;

    /** 项目进度 */
    @ApiModelProperty(value = "项目进度")
    @ExcelProperty(value = "项目进度", order = 7)
    @ExcelInfo
    @ValidatorLenMax(10)
    private Integer projectProgress;



}
